#ifndef _SUANFA_H_
#define _SUANFA_H_

#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>
#include<string.h>
#include "log.h"

#define ARRY_MAX  (10)

enum{
    SORT_ASEC,
    SORT_DESC
};

//冒泡
int bubble_sort(int *arry,int size,int mode);
//选择排序
int select_sort(int *arry,int size,int mode);
//插入排序
int insert_sort(int *arry,int size,int mode);
int show_arry(int *arry,int size);

#endif